package com.xszx.beans;

public class Orders {
    private Integer id;
    private String username;
    private Integer goodsId;
    private Integer state;
    private Integer address;
    private Integer num;

    public Orders() {
    }

    public Orders(Integer id, String username, Integer state, Integer num) {
        this.id = id;
        this.username = username;
        this.state = state;
        this.num = num;
    }

    public Orders(String username, Integer goodsId, Integer state, Integer address, Integer num) {
        this.username = username;
        this.goodsId = goodsId;
        this.state = state;
        this.address = address;
        this.num = num;
    }

    public Orders(Integer id, String username, Integer goodsId, Integer state, Integer address, Integer num) {
        this.id = id;
        this.username = username;
        this.goodsId = goodsId;
        this.state = state;
        this.address = address;
        this.num = num;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getAddress() {
        return address;
    }

    public void setAddress(Integer address) {
        this.address = address;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
